From 394bbf04f52204469ceb9eee5b813b9d0c488de5 Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Tue, 28 Mar 2006 11:47:20 +0100 Subject: [PATCH] Download the initrd from xm-test.xensource.com, unless otherwise specified. Don't download it again if it's already present. Signed-off-by: Ewan Mellor --- tools/xm-test/ramdisk/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/xm-test/ramdisk/Makefile.am b/tools/xm-test/ramdisk/Makefile.am index 2912f7579b..1ac4752ce6 100644 --- a/tools/xm-test/ramdisk/Makefile.am +++ b/tools/xm-test/ramdisk/Makefile.am @@ -1,3 +1,4 @@ +INITRD ?= http://xm-test.xensource.com/ramdisks EXTRA_DIST = skel configs patches @@ -60,7 +61,7 @@ disk.img: existing fi existing: - @if test -n "$(INITRD)"; then \ + @if [ -n "$(INITRD)" ] && [ ! -f $(XMTEST_VER_IMG) ] ; then \ wget $(INITRD)/$(XMTEST_VER_IMG); \ fi @if [ -f $(XMTEST_VER_IMG) ] ; then \ -- 2.30.2